From f2936e270651626f4756593a55fcadc3e6a3a234 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 17 Aug 2006 16:24:56 +0000 Subject: [PATCH] Queue printing idles at a low priority. (#348289, Yevgen Muntyan) 2006-08-17 Matthias Clasen * gtk/gtkprintoperation.c (print_pages, preview_ready): Queue printing idles at a low priority. (#348289, Yevgen Muntyan) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ gtk/gtkprintoperation.c | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 06b4008073..71c5e5cbb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-08-17 Matthias Clasen + * gtk/gtkprintoperation.c (print_pages, preview_ready): Queue + printing idles at a low priority. (#348289, Yevgen Muntyan) + * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Add some caveats to the documentation. (#348971) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 06b4008073..71c5e5cbb7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2006-08-17 Matthias Clasen + * gtk/gtkprintoperation.c (print_pages, preview_ready): Queue + printing idles at a low priority. (#348289, Yevgen Muntyan) + * gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Add some caveats to the documentation. (#348971) diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index c12d3aa46a..39d1af2b58 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -454,7 +454,7 @@ preview_ready (GtkPrintOperationPreview *preview, pop->page_nr = 0; pop->print_context = context; - g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, + g_idle_add_full (G_PRIORITY_DEFAULT_IDLE + 10, preview_print_idle, pop, preview_print_idle_done); @@ -2265,7 +2265,7 @@ print_pages (GtkPrintOperation *op, priv->manual_orientation = TRUE; } - priv->print_pages_idle_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, + priv->print_pages_idle_id = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE + 10, print_pages_idle, data, print_pages_idle_done); -- 2.30.2